<?php if(!defined("PATH_HD"))exit;C("SHOW_NOTICE",false);?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>管理后台</title>
        <link type="text/css" rel="stylesheet" href="http://192.168.10.155:8080/sz-ica/admin/tpl/public/css/common.css"/>
        <script type='text/javascript' src='http://192.168.10.155:8080/sz-ica/hdphp/plugin/jquery-1.8.2.min.js'></script>
 		
 		     <script>
            var URL = 'http://192.168.10.155:8080/sz-ica/admin.php/Index';
            var WEB = 'http://192.168.10.155:8080/sz-ica/admin.php';
            var PUBLIC = 'http://192.168.10.155:8080/sz-ica/admin/tpl/public';
            
        	</script>
        <script type="text/javascript" src="http://192.168.10.155:8080/sz-ica/admin/tpl/public/js/index.js"></script>
    </head>
    <body>
        <div id='hd_jqueryui_div'></div>
        <div id="top">
            <div class="content">
                <p>
                    
                </p>
                <ul class="service">
                 
                    <li><a  href='javascript:void(0);'>-欢迎使用管理后台系统-</a></li>
                </ul>
                <div class="channel">
                    <ul class="menu">
                       	<?php if(is_array($menu)):?><?php  foreach($menu as $v){ ?>
                            <li  menu_id = "<?php echo $v['id'];?>">
                                <div></div>
                                <span><?php echo $v['name'];?></span>
                            </li>
                        <?php }?><?php endif;?>
                <!--             <li menu_id ="<?php echo $v['id'];?>">
                                <div></div>
                                <span>菜单222</span>
                            </li> -->
                    
                    </ul>
                    <ul class="user_info">
                        <li>您好！<strong style="color:dodgerblue;"><?php echo $_SESSION['ica_uname'];?></strong>[<?php echo $_SESSION['ica_class'];?>]</li>
                        <li><a href="http://192.168.10.155:8080/sz-ica/admin.php/Login/loginOut">[退出登录]</a></li>
                    </ul>
                </div>
            </div>
            <div class="tool_nav">
                <div class="tool">
                    <span class='hidemenu' title='隐藏菜单'></span>
                    
                </div>
                <div class="location">
                    <h6><i id='home'></i>当前位置：</h6>
                    <span>首页</span>
                    <ul>
                        <li>
                            <a href="http://192.168.10.155:8080/sz-ica" target="_blank" class='m-btn'>网站首页</a>
                        </li>
                        <li>
                            <a href='javascript:void(0);' id ="update_cache" class='m-btn'>更新缓存</a>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
        <div id="left"></div>
        <div id="right">
            <iframe src="http://192.168.10.155:8080/sz-ica/admin.php/Index/copy" name="frame" scrolling="auto" frameborder="0" id="window_frame"></iframe>
        </div>
        <!--[if IE 6]>
            <script type="text/javascript" src="http://192.168.10.155:8080/sz-ica/data/js/DD_belatedPNG_0.0.8a-min.js"></script>
            <script type="text/javascript">
                DD_belatedPNG.fix('.hidemenu','background');
                DD_belatedPNG.fix('.m-btn','background');
            </script>
        <![endif]-->
        <script type="text/javascript">
             $(function(){

             
             });
             $('#update_cache').click(function(){
                 var cn = confirm('确定删除缓存文件夹？');
                    if(cn){
                        $.post("http://192.168.10.155:8080/sz-ica/admin.php/Index/"+"ajaxDelCache",{'status':'del'},function(data){
                            if(data.status){
                                alert('删除成功');
                            }else{
                                alert('删除失败');

                            }
                        },'json');
                    }
                    return false;
             });
        </script>
    </body>
</html>